package com.ruoyi.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.mapper.BaseSatelliteInfoMapper;
import com.ruoyi.domain.BaseSatelliteInfo;
import com.ruoyi.service.IBaseSatelliteInfoService;

/**
 * 卫星信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-05-25
 */
@Service
public class BaseSatelliteInfoServiceImpl implements IBaseSatelliteInfoService 
{
    @Autowired
    private BaseSatelliteInfoMapper baseSatelliteInfoMapper;

    /**
     * 查询卫星信息
     * 
     * @param id 卫星信息主键
     * @return 卫星信息
     */
    @Override
    public BaseSatelliteInfo selectBaseSatelliteInfoById(Long id)
    {
        return baseSatelliteInfoMapper.selectBaseSatelliteInfoById(id);
    }

    /**
     * 查询卫星信息列表
     * 
     * @param baseSatelliteInfo 卫星信息
     * @return 卫星信息
     */
    @Override
    public List<BaseSatelliteInfo> selectBaseSatelliteInfoList(BaseSatelliteInfo baseSatelliteInfo)
    {
        return baseSatelliteInfoMapper.selectBaseSatelliteInfoList(baseSatelliteInfo);
    }

    /**
     * 新增卫星信息
     * 
     * @param baseSatelliteInfo 卫星信息
     * @return 结果
     */
    @Override
    public int insertBaseSatelliteInfo(BaseSatelliteInfo baseSatelliteInfo)
    {
        return baseSatelliteInfoMapper.insertBaseSatelliteInfo(baseSatelliteInfo);
    }

    /**
     * 修改卫星信息
     * 
     * @param baseSatelliteInfo 卫星信息
     * @return 结果
     */
    @Override
    public int updateBaseSatelliteInfo(BaseSatelliteInfo baseSatelliteInfo)
    {
        return baseSatelliteInfoMapper.updateBaseSatelliteInfo(baseSatelliteInfo);
    }

    /**
     * 批量删除卫星信息
     * 
     * @param ids 需要删除的卫星信息主键
     * @return 结果
     */
    @Override
    public int deleteBaseSatelliteInfoByIds(Long[] ids)
    {
        return baseSatelliteInfoMapper.deleteBaseSatelliteInfoByIds(ids);
    }

    /**
     * 删除卫星信息信息
     * 
     * @param id 卫星信息主键
     * @return 结果
     */
    @Override
    public int deleteBaseSatelliteInfoById(Long id)
    {
        return baseSatelliteInfoMapper.deleteBaseSatelliteInfoById(id);
    }
}
